﻿using System;
using System.Windows;

namespace 抽象工厂模式
{
    public class NanChangFactory:AbstractFactory
    {
        public override YaBo CreateYaBo()
        {
            return new NanChangYaBo();
        }
    }

    public class NanChangYaBo : YaBo
    {
        public override void Print()
        {
           MessageBox.Show("这个是南昌的鸭脖");
        }
    }
}
